package com.battcn.elasticsearch.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * es基本属性配置
 * @author fanpeng
 */
@Data
@Component
@ConfigurationProperties(prefix = "elasticsearch")
public class EsProperties {

    private String clusterName;

    private String clusterNodes;
}
